#include("/include/pageForm.html",action="admin/updateaccount/search")
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="admin/updateaccount/search" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>开始时间：</label>
				<input type="text" name="createTimeStart" value="#(createTimeStart)" class="date textInput readonly valid" datefmt="yyyy-MM-dd HH:mm:ss"/> 
			</li>
			<li>
				<label>结束时间：</label>
				<input type="text" name="createTimeEnd" value="#(createTimeEnd)" class="date textInput readonly valid" datefmt="yyyy-MM-dd HH:mm:ss"/>
				<input type="hidden" name="isInVirtualAccount" value="false" /> 
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
		#auth()
			<li><a class="icon" href="admin/updateaccount/queryOrderStatus?id={sid}" target="ajaxTodo" rel="addAccountDialog"  width="600" height="400"><span>查询</span></a></li>
		#end	
		</ul>
	</div>

	<div id="w_list_print">
	<table class="list" style="width: 98%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
		<thead>
			<tr>
				<th width="80">渠道号</th>
				<th width="100">商户号</th>
				<th width="100">金额(元)</th>
				<th width="100">渠道订单号</th>
				<th width="100">订单号</th>
				<th width="100">商户订单号</th>
				<th width="100">支付类别</th>
			</tr>
		</thead>
		<tbody>
			#for(item:items)
				<tr target="sid" rel="#(item.id)">
					<td>#(item.channelCode)</td>
					<td>#(item.merchCode)</td>
					<td>#number(item.amount.toDouble() / 100,"##,###,##0.00")</td>
					<td>#(item.channelOrderNo)</td>
					<td>#(item.orderNo)</td>
					<td>#(item.merchOrderNo)</td>
					<td>
					#if(item.payType == 'wechat_public' )
							微信公众号
					#end
					#if(item.payType == 'wechat_qrcode' )
							微信二维码
					#end
					#if(item.payType == 'alipay_public' )
							支付宝生活号
					#end
					#if(item.payType == 'alipay_qrcode' )
							支付宝二维码
					#end
					</td>
				</tr>
			#end
		</tbody>
	</table>
	</div>
	
	#include("/include/page.html")

</div>
